package com.itchu.system.domain;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "comment")
public class Comment {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;

    private Long userId;

    private Long songId;

    private Long songlistId;

    private String content;

    private Integer type;

    private Integer up;

    private Date createTime;

    private User user;
}
